import React, { useContext } from 'react'
import GrandSon from './GrandSon.jsx'
import context from '../context.js'
export default function Father() {
  let {username, age} = useContext(context)
  return (
    <div>
      <h3>Father组件</h3>
      <p>username: {username}，{age}</p>
      <GrandSon></GrandSon>
    </div>
  )
}
